home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Composite_Matte.ifx
< prev
next >
Wrap
Text File
|
1996-03-02
|
712b
|
32 lines
/*
* Composite_Matte.ifx
* Written by Thomas Krehbiel
*
* Composite tool.
*
* Inputs:
* Word(Arg(1),1) = Frame number (1 - N)
* Word(Arg(1),2) = Main filename ("-" if not specified)
* Word(Arg(1),3) = Swap filename ("-" if not specified)
* Word(Arg(1),4) = Sequence number
* Word(Arg(1),5) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_CompositeMatte_'
blendv = GETCLIP(base||'Blend')
matter = GETCLIP(base||'MatteR')
matteg = GETCLIP(base||'MatteG')
matteb = GETCLIP(base||'MatteB')
close = GETCLIP(base||'Close')
Hook Composite Matte blendv close RED matter GREEN matteg BLUE matteb SWAPSCALE
EXIT